package cn.lijiguo.concurrency.part1.ch01;

/**
 * BankDemo
 *
 * @author lijiguo
 * @date 2019/12/6 15:09
 */
public class BankDemo {

    public static void main(String[] args) {
        // 模拟银行中的3个叫号窗口

        TicketWindow ticketWindow1 = new TicketWindow("窗口1");
        ticketWindow1.start();

        TicketWindow ticketWindow2 = new TicketWindow("窗口2");
        ticketWindow2.start();

        TicketWindow ticketWindow3 = new TicketWindow("窗口3");
        ticketWindow3.start();
    }
}
